home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Shareware
/
Business Shareware.iso
/
start
/
gfxapps
/
pbmpl91d
/
pbmplus
/
src
/
fix_io.c
< prev
Wrap
C/C++ Source or Header
|
1993-01-08
|
299b
|
15 lines
/*
* compile with: gcc -o fix_io.c
* add to libc with: ar q libc.a fix_io.c
* ranlib libc with: ranlib libc.a
*/
#include <stdio.h>
#include <fcntl.h>
void FIX_IO(void) {
setmode( fileno(stdin), O_BINARY );
setmode( fileno(stdout), O_BINARY );
_fmode = O_BINARY;
}